[INFO] cloning repository https://github.com/HarrSoft/chatterbox
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HarrSoft/chatterbox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarrSoft%2Fchatterbox", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarrSoft%2Fchatterbox'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] afcb54eef7e698265b2ee77e47ad6ade537b1240
[INFO] fixing HarrSoft/chatterbox against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarrSoft%2Fchatterbox" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/HarrSoft/chatterbox
[INFO] finished tweaking git repo https://github.com/HarrSoft/chatterbox
[INFO] tweaked toml for git repo https://github.com/HarrSoft/chatterbox written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/HarrSoft/chatterbox on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/HarrSoft/chatterbox already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded thiserror v2.0.14
[INFO] [stderr]   Downloaded crc v3.3.0
[INFO] [stderr]   Downloaded thiserror-impl v2.0.14
[INFO] [stderr]   Downloaded cuid-util v0.1.1
[INFO] [stderr]   Downloaded actix-web-lab-derive v0.24.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.97
[INFO] [stderr]   Downloaded cuid2 v0.1.4
[INFO] [stderr]   Downloaded serde_html_form v0.2.7
[INFO] [stderr]   Downloaded serde_json v1.0.142
[INFO] [stderr]   Downloaded actix-web-lab v0.24.2
[INFO] [stderr]   Downloaded actix-http v3.11.0
[INFO] [stderr]   Downloaded actix-web v4.11.0
[INFO] [stderr]   Downloaded brotli v8.0.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4525a8aecd39331a611db7657248e2f5a1e19ad062fbb7b8add12d6830d31478
[INFO] running `Command { std: "docker" "start" "4525a8aecd39331a611db7657248e2f5a1e19ad062fbb7b8add12d6830d31478", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4525a8aecd39331a611db7657248e2f5a1e19ad062fbb7b8add12d6830d31478" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4525a8aecd39331a611db7657248e2f5a1e19ad062fbb7b8add12d6830d31478", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4525a8aecd39331a611db7657248e2f5a1e19ad062fbb7b8add12d6830d31478" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.97
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling thiserror v2.0.14
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling cc v1.2.32
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking indexmap v2.10.0
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking crc32fast v1.5.0
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.14
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]     Checking brotli v8.0.1
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking csv-core v0.1.12
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]     Checking cookie v0.16.2
[INFO] [stderr]     Checking csv v1.3.1
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking serde_html_form v0.2.7
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling actix-web-lab-derive v0.24.0
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking cuid-util v0.1.1
[INFO] [stderr]     Checking cuid2 v0.1.4
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]     Checking actix-http v3.11.0
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]     Checking actix-web v4.11.0
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking actix-web-lab v0.24.2
[INFO] [stderr]     Checking chatterbox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find type `Event` in this scope
[INFO] [stdout]    --> src/main.rs:127:17
[INFO] [stdout]     |
[INFO] [stdout] 127 |         tx.send(Event::Data(json));
[INFO] [stdout]     |                 ^^^^^ use of undeclared type `Event`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::sse::Event;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use actix_web_lab::sse::Event;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Event` in this scope
[INFO] [stdout]    --> src/main.rs:127:17
[INFO] [stdout]     |
[INFO] [stdout] 127 |         tx.send(Event::Data(json));
[INFO] [stdout]     |                 ^^^^^ use of undeclared type `Event`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::sse::Event;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use actix_web_lab::sse::Event;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `actix_web::web::Query<&str>: AsRef<str>` is not satisfied
[INFO] [stdout]    --> src/main.rs:123:51
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let backlog = fetch_backlog(&session.user_id, ts).await;
[INFO] [stdout]     |                   -------------                   ^^ the trait `AsRef<str>` is not implemented for `actix_web::web::Query<&str>`
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `fetch_backlog`
[INFO] [stdout]    --> src/backlog.rs:9:17
[INFO] [stdout]     |
[INFO] [stdout]   7 | pub async fn fetch_backlog(
[INFO] [stdout]     |              ------------- required by a bound in this function
[INFO] [stdout]   8 |   state: &AppState,
[INFO] [stdout]   9 |   user_id: impl AsRef<str>,
[INFO] [stdout]     |                 ^^^^^^^^^^ required by this bound in `fetch_backlog`
[INFO] [stdout] help: consider dereferencing here
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let backlog = fetch_backlog(&session.user_id, *ts).await;
[INFO] [stdout]     |                                                   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `actix_web::web::Query<&str>: AsRef<str>` is not satisfied
[INFO] [stdout]    --> src/main.rs:123:51
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let backlog = fetch_backlog(&session.user_id, ts).await;
[INFO] [stdout]     |                   -------------                   ^^ the trait `AsRef<str>` is not implemented for `actix_web::web::Query<&str>`
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `fetch_backlog`
[INFO] [stdout]    --> src/backlog.rs:9:17
[INFO] [stdout]     |
[INFO] [stdout]   7 | pub async fn fetch_backlog(
[INFO] [stdout]     |              ------------- required by a bound in this function
[INFO] [stdout]   8 |   state: &AppState,
[INFO] [stdout]   9 |   user_id: impl AsRef<str>,
[INFO] [stdout]     |                 ^^^^^^^^^^ required by this bound in `fetch_backlog`
[INFO] [stdout] help: consider dereferencing here
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let backlog = fetch_backlog(&session.user_id, *ts).await;
[INFO] [stdout]     |                                                   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]    --> src/main.rs:123:19
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let backlog = fetch_backlog(&session.user_id, ts).await;
[INFO] [stdout]     |                   ^^^^^^^^^^^^^----------------------
[INFO] [stdout]     |                                ||
[INFO] [stdout]     |                                |expected `&AppState`, found `&String`
[INFO] [stdout]     |                                argument #3 of type `std::option::Option<OffsetDateTime>` is missing
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&AppState`
[INFO] [stdout]                found reference `&std::string::String`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/backlog.rs:7:14
[INFO] [stdout]     |
[INFO] [stdout]   7 | pub async fn fetch_backlog(
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 123 -     let backlog = fetch_backlog(&session.user_id, ts).await;
[INFO] [stdout] 123 +     let backlog = fetch_backlog(/* &AppState */, ts, /* std::option::Option<OffsetDateTime> */).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `actix_web::web::Query<&str>: AsRef<str>` is not satisfied
[INFO] [stdout]    --> src/main.rs:123:19
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let backlog = fetch_backlog(&session.user_id, ts).await;
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsRef<str>` is not implemented for `actix_web::web::Query<&str>`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `fetch_backlog`
[INFO] [stdout]    --> src/backlog.rs:9:17
[INFO] [stdout]     |
[INFO] [stdout]   7 | pub async fn fetch_backlog(
[INFO] [stdout]     |              ------------- required by a bound in this function
[INFO] [stdout]   8 |   state: &AppState,
[INFO] [stdout]   9 |   user_id: impl AsRef<str>,
[INFO] [stdout]     |                 ^^^^^^^^^^ required by this bound in `fetch_backlog`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `actix_web::web::Query<&str>: AsRef<str>` is not satisfied
[INFO] [stdout]    --> src/main.rs:123:55
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let backlog = fetch_backlog(&session.user_id, ts).await;
[INFO] [stdout]     |                                                       ^^^^^ the trait `AsRef<str>` is not implemented for `actix_web::web::Query<&str>`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `fetch_backlog`
[INFO] [stdout]    --> src/backlog.rs:9:17
[INFO] [stdout]     |
[INFO] [stdout]   7 | pub async fn fetch_backlog(
[INFO] [stdout]     |              ------------- required by a bound in this function
[INFO] [stdout]   8 |   state: &AppState,
[INFO] [stdout]   9 |   user_id: impl AsRef<str>,
[INFO] [stdout]     |                 ^^^^^^^^^^ required by this bound in `fetch_backlog`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:125:22
[INFO] [stdout]     |
[INFO] [stdout]  54 | #[post("/message")]
[INFO] [stdout]     | ------------------- unit struct defined here
[INFO] [stdout] ...
[INFO] [stdout] 125 |       Ok(blz) => for message in blz {
[INFO] [stdout]     |                      ^^^^^^^    --- this is an iterator with items of type `Message`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      expected `Message`, found `message`
[INFO] [stdout]     |                      `message` is interpreted as a unit struct, not a new binding
[INFO] [stdout]     |
[INFO] [stdout] help: bind the struct field to a different name instead
[INFO] [stdout]     |
[INFO] [stdout] 125 |       Ok(blz) => for message: other_message in blz {
[INFO] [stdout]     |                             +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `message: _serde::Serialize` is not satisfied
[INFO] [stdout]    --> src/main.rs:126:40
[INFO] [stdout]     |
[INFO] [stdout] 126 |         let json = sse::Data::new_json(message);
[INFO] [stdout]     |                    ------------------- ^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `_serde::Serialize` is not implemented for `message`
[INFO] [stdout]    --> src/main.rs:54:1
[INFO] [stdout]     |
[INFO] [stdout]  54 | #[post("/message")]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for local types consider adding `#[derive(serde::Serialize)]` to your `message` type
[INFO] [stdout]     = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]     = help: the following other types implement trait `_serde::Serialize`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               &'a mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T,)
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]             and 167 others
[INFO] [stdout]     = note: there are multiple different versions of crate `chatterbox` in the dependency graph
[INFO] [stdout]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout] note: required by a bound in `actix_web_lab::sse::Data::new_json`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-lab-0.24.2/src/sse.rs:137:32
[INFO] [stdout]     |
[INFO] [stdout] 137 |     pub fn new_json(data: impl Serialize) -> Result<Self, serde_json::Error> {
[INFO] [stdout]     |                                ^^^^^^^^^ required by this bound in `Data::new_json`
[INFO] [stdout]     = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]    --> src/main.rs:123:19
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let backlog = fetch_backlog(&session.user_id, ts).await;
[INFO] [stdout]     |                   ^^^^^^^^^^^^^----------------------
[INFO] [stdout]     |                                ||
[INFO] [stdout]     |                                |expected `&AppState`, found `&String`
[INFO] [stdout]     |                                argument #3 of type `std::option::Option<OffsetDateTime>` is missing
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&AppState`
[INFO] [stdout]                found reference `&std::string::String`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/backlog.rs:7:14
[INFO] [stdout]     |
[INFO] [stdout]   7 | pub async fn fetch_backlog(
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 123 -     let backlog = fetch_backlog(&session.user_id, ts).await;
[INFO] [stdout] 123 +     let backlog = fetch_backlog(/* &AppState */, ts, /* std::option::Option<OffsetDateTime> */).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `actix_web::web::Query<&str>: AsRef<str>` is not satisfied
[INFO] [stdout]    --> src/main.rs:123:19
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let backlog = fetch_backlog(&session.user_id, ts).await;
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsRef<str>` is not implemented for `actix_web::web::Query<&str>`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `fetch_backlog`
[INFO] [stdout]    --> src/backlog.rs:9:17
[INFO] [stdout]     |
[INFO] [stdout]   7 | pub async fn fetch_backlog(
[INFO] [stdout]     |              ------------- required by a bound in this function
[INFO] [stdout]   8 |   state: &AppState,
[INFO] [stdout]   9 |   user_id: impl AsRef<str>,
[INFO] [stdout]     |                 ^^^^^^^^^^ required by this bound in `fetch_backlog`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `{async closure@src/main.rs:122:16: 122:29}` is not a future
[INFO] [stdout]    --> src/main.rs:122:16
[INFO] [stdout]     |
[INFO] [stdout] 122 |     tokio::spawn(async move || {
[INFO] [stdout]     |  ___------------_^
[INFO] [stdout]     | |   |
[INFO] [stdout]     | |   required by a bound introduced by this call
[INFO] [stdout] 123 | |     let backlog = fetch_backlog(&session.user_id, ts).await;
[INFO] [stdout] 124 | |     match backlog {
[INFO] [stdout] 125 | |       Ok(blz) => for message in blz {
[INFO] [stdout] ...   |
[INFO] [stdout] 133 | |   });
[INFO] [stdout]     | |___^ `{async closure@src/main.rs:122:16: 122:29}` is not a future
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::future::Future` is not implemented for `{async closure@src/main.rs:122:16: 122:29}`
[INFO] [stdout] note: required by a bound in `tokio::spawn`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/spawn.rs:168:12
[INFO] [stdout]     |
[INFO] [stdout] 166 |     pub fn spawn<F>(future: F) -> JoinHandle<F::Output>
[INFO] [stdout]     |            ----- required by a bound in this function
[INFO] [stdout] 167 |     where
[INFO] [stdout] 168 |         F: Future + Send + 'static,
[INFO] [stdout]     |            ^^^^^^ required by this bound in `spawn`
[INFO] [stdout] help: use `async {}` instead of `async || {}` to introduce an async block
[INFO] [stdout]     |
[INFO] [stdout] 122 -   tokio::spawn(async move || {
[INFO] [stdout] 122 +   tokio::spawn(async move {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `actix_web::web::Query<&str>: AsRef<str>` is not satisfied
[INFO] [stdout]    --> src/main.rs:123:55
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let backlog = fetch_backlog(&session.user_id, ts).await;
[INFO] [stdout]     |                                                       ^^^^^ the trait `AsRef<str>` is not implemented for `actix_web::web::Query<&str>`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `fetch_backlog`
[INFO] [stdout]    --> src/backlog.rs:9:17
[INFO] [stdout]     |
[INFO] [stdout]   7 | pub async fn fetch_backlog(
[INFO] [stdout]     |              ------------- required by a bound in this function
[INFO] [stdout]   8 |   state: &AppState,
[INFO] [stdout]   9 |   user_id: impl AsRef<str>,
[INFO] [stdout]     |                 ^^^^^^^^^^ required by this bound in `fetch_backlog`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:125:22
[INFO] [stdout]     |
[INFO] [stdout]  54 | #[post("/message")]
[INFO] [stdout]     | ------------------- unit struct defined here
[INFO] [stdout] ...
[INFO] [stdout] 125 |       Ok(blz) => for message in blz {
[INFO] [stdout]     |                      ^^^^^^^    --- this is an iterator with items of type `Message`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      expected `Message`, found `message`
[INFO] [stdout]     |                      `message` is interpreted as a unit struct, not a new binding
[INFO] [stdout]     |
[INFO] [stdout] help: bind the struct field to a different name instead
[INFO] [stdout]     |
[INFO] [stdout] 125 |       Ok(blz) => for message: other_message in blz {
[INFO] [stdout]     |                             +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:136:38
[INFO] [stdout]     |
[INFO] [stdout] 136 |   sse::Sse::from_infallible_receiver(rx)
[INFO] [stdout]     |   ---------------------------------- ^^ expected `Receiver<Event>`, found `Receiver<Message>`
[INFO] [stdout]     |   |
[INFO] [stdout]     |   arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `tokio::sync::mpsc::Receiver<Event>`
[INFO] [stdout]                found struct `tokio::sync::mpsc::Receiver<Message>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-lab-0.24.2/src/sse.rs:315:12
[INFO] [stdout]     |
[INFO] [stdout] 315 |     pub fn from_infallible_receiver(receiver: mpsc::Receiver<Event>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `message: _serde::Serialize` is not satisfied
[INFO] [stdout]    --> src/main.rs:126:40
[INFO] [stdout]     |
[INFO] [stdout] 126 |         let json = sse::Data::new_json(message);
[INFO] [stdout]     |                    ------------------- ^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `_serde::Serialize` is not implemented for `message`
[INFO] [stdout]    --> src/main.rs:54:1
[INFO] [stdout]     |
[INFO] [stdout]  54 | #[post("/message")]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for local types consider adding `#[derive(serde::Serialize)]` to your `message` type
[INFO] [stdout]     = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]     = help: the following other types implement trait `_serde::Serialize`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               &'a mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T,)
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]             and 167 others
[INFO] [stdout]     = note: there are multiple different versions of crate `chatterbox` in the dependency graph
[INFO] [stdout]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout] note: required by a bound in `actix_web_lab::sse::Data::new_json`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-lab-0.24.2/src/sse.rs:137:32
[INFO] [stdout]     |
[INFO] [stdout] 137 |     pub fn new_json(data: impl Serialize) -> Result<Self, serde_json::Error> {
[INFO] [stdout]     |                                ^^^^^^^^^ required by this bound in `Data::new_json`
[INFO] [stdout]     = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:136:3
[INFO] [stdout]     |
[INFO] [stdout]  98 |   ) -> impl Responder {
[INFO] [stdout]     |        -------------- expected `HttpResponse` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 136 | /   sse::Sse::from_infallible_receiver(rx)
[INFO] [stdout] 137 | |     .with_retry_duration(Duration::from_secs(10))
[INFO] [stdout]     | |_________________________________________________^ expected `HttpResponse`, found `Sse<InfallibleStream<...>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `HttpResponse`
[INFO] [stdout]                found struct `Sse<InfallibleStream<tokio_stream::wrappers::mpsc_bounded::ReceiverStream<Event>>>`
[INFO] [stdout] note: return type inferred to be `HttpResponse` here
[INFO] [stdout]    --> src/main.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 |     return HttpResponse::Unauthorized().finish();
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `{async closure@src/main.rs:122:16: 122:29}` is not a future
[INFO] [stdout]    --> src/main.rs:122:16
[INFO] [stdout]     |
[INFO] [stdout] 122 |     tokio::spawn(async move || {
[INFO] [stdout]     |  ___------------_^
[INFO] [stdout]     | |   |
[INFO] [stdout]     | |   required by a bound introduced by this call
[INFO] [stdout] 123 | |     let backlog = fetch_backlog(&session.user_id, ts).await;
[INFO] [stdout] 124 | |     match backlog {
[INFO] [stdout] 125 | |       Ok(blz) => for message in blz {
[INFO] [stdout] ...   |
[INFO] [stdout] 133 | |   });
[INFO] [stdout]     | |___^ `{async closure@src/main.rs:122:16: 122:29}` is not a future
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::future::Future` is not implemented for `{async closure@src/main.rs:122:16: 122:29}`
[INFO] [stdout] note: required by a bound in `tokio::spawn`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/spawn.rs:168:12
[INFO] [stdout]     |
[INFO] [stdout] 166 |     pub fn spawn<F>(future: F) -> JoinHandle<F::Output>
[INFO] [stdout]     |            ----- required by a bound in this function
[INFO] [stdout] 167 |     where
[INFO] [stdout] 168 |         F: Future + Send + 'static,
[INFO] [stdout]     |            ^^^^^^ required by this bound in `spawn`
[INFO] [stdout] help: use `async {}` instead of `async || {}` to introduce an async block
[INFO] [stdout]     |
[INFO] [stdout] 122 -   tokio::spawn(async move || {
[INFO] [stdout] 122 +   tokio::spawn(async move {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:136:38
[INFO] [stdout]     |
[INFO] [stdout] 136 |   sse::Sse::from_infallible_receiver(rx)
[INFO] [stdout]     |   ---------------------------------- ^^ expected `Receiver<Event>`, found `Receiver<Message>`
[INFO] [stdout]     |   |
[INFO] [stdout]     |   arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `tokio::sync::mpsc::Receiver<Event>`
[INFO] [stdout]                found struct `tokio::sync::mpsc::Receiver<Message>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-lab-0.24.2/src/sse.rs:315:12
[INFO] [stdout]     |
[INFO] [stdout] 315 |     pub fn from_infallible_receiver(receiver: mpsc::Receiver<Event>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:136:3
[INFO] [stdout]     |
[INFO] [stdout]  98 |   ) -> impl Responder {
[INFO] [stdout]     |        -------------- expected `HttpResponse` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 136 | /   sse::Sse::from_infallible_receiver(rx)
[INFO] [stdout] 137 | |     .with_retry_duration(Duration::from_secs(10))
[INFO] [stdout]     | |_________________________________________________^ expected `HttpResponse`, found `Sse<InfallibleStream<...>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `HttpResponse`
[INFO] [stdout]                found struct `Sse<InfallibleStream<tokio_stream::wrappers::mpsc_bounded::ReceiverStream<Event>>>`
[INFO] [stdout] note: return type inferred to be `HttpResponse` here
[INFO] [stdout]    --> src/main.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 |     return HttpResponse::Unauthorized().finish();
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation of `_serde::Deserialize` is not general enough
[INFO] [stdout]   --> src/main.rs:93:1
[INFO] [stdout]    |
[INFO] [stdout] 93 | #[get("/subscribe")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ implementation of `_serde::Deserialize` is not general enough
[INFO] [stdout]    |
[INFO] [stdout]    = note: `&str` must implement `_serde::Deserialize<'0>`, for any lifetime `'0`...
[INFO] [stdout]    = note: ...but `&str` actually implements `_serde::Deserialize<'1>`, for some specific lifetime `'1`
[INFO] [stdout]    = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error: implementation of `_serde::Deserialize` is not general enough
[INFO] [stdout]   --> src/main.rs:93:1
[INFO] [stdout]    |
[INFO] [stdout] 93 | #[get("/subscribe")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ implementation of `_serde::Deserialize` is not general enough
[INFO] [stdout]    |
[INFO] [stdout]    = note: `&str` must implement `_serde::Deserialize<'0>`, for any lifetime `'0`...
[INFO] [stdout]    = note: ...but `&str` actually implements `_serde::Deserialize<'1>`, for some specific lifetime `'1`
[INFO] [stdout]    = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chatterbox` (bin "chatterbox" test) due to 11 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chatterbox` (bin "chatterbox") due to 11 previous errors
[INFO] running `Command { std: "docker" "inspect" "4525a8aecd39331a611db7657248e2f5a1e19ad062fbb7b8add12d6830d31478", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4525a8aecd39331a611db7657248e2f5a1e19ad062fbb7b8add12d6830d31478", kill_on_drop: false }`
[INFO] [stdout] 4525a8aecd39331a611db7657248e2f5a1e19ad062fbb7b8add12d6830d31478
